package cn.mastor.pet.service;

import cn.mastor.basic.util.AjaxResult;
import cn.mastor.basic.util.PageList;
import cn.mastor.pet.domain.SearchMasterMsg;
import cn.mastor.basic.service.IBaseService;
import cn.mastor.pet.dto.AcceptDto;
import cn.mastor.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itsource
 * @since 2022-11-01
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg searchMasterMsg);

    PageList<SearchMasterMsg> querySearchMasterMsg(SearchMasterMsgQuery query);

    AjaxResult accept(AcceptDto acceptDto);

    AjaxResult reject(Long id,HttpServletRequest request);
}
